package jsu.lipengcheng.trafficnet.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import jsu.lipengcheng.trafficnet.pojo.Cars;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CarMapper extends BaseMapper<Cars> {

    @Select("select * from car where user_id=#{id}")
    List<Cars> selectbyuserid(Integer id);

    List<Cars> selectpages(Integer status, Integer userid);

}
